package cn.qicaiwang.open.app.mapper;



import cn.qicaiwang.open.app.entity.MembershipPlan;

import org.apache.ibatis.annotations.Mapper;

import java.util.List;

/**
 * 会员套餐Mapper接口
 */
@Mapper
public interface MembershipPlanMapper {
    int insert(MembershipPlan plan);
    int update(MembershipPlan plan);
    int delete(Long id);
    MembershipPlan selectById(Long id);
    List<MembershipPlan> selectAll();
    List<MembershipPlan> selectActivePlans();
}
